package it.polimi.traveldream.web.beans.shared;

import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;

public class FacesContextHandler {
	public static void produceFacesMessage(String clientId, FacesContext context, FacesMessage.Severity severity, String message) {
		context.addMessage(clientId, new FacesMessage(severity, message, null));
	}
}
